package com.isccp.efi.config;

import com.isccp.efi.service.PackagecardService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;

@Component
public class ScheduledConfig {
    private static final Logger log = LoggerFactory.getLogger(ScheduledConfig.class);

    @Resource
    private PackagecardService packagecardService;

//    @Scheduled(cron = "${corn.syn}")
//    public void task(){
//
//        log.info("定时任务开始执行");
//        packagecardService.synData();
//
//
//
//    }

}
